﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WorldEditor
{
    class Level
    {
        public Level( int identifier )
        {
            ID = identifier;
            field = new Field();
            paths = new Path[3];
            BgImg = -1;
            FieldImg = -1;
        }

        private int id;
        public int ID
        {
            get { return id; }
            set { id = value; }
        }

        // Image Data
        Field field;
        public Field Field
        {
            get { return field; }
            set { field = value; }
        }

        private int bgImg;
        public int BgImg
        {
            get { return bgImg; }
            set { bgImg = value; }
        }

        private int fieldImg;
        public int FieldImg
        {
            get { return fieldImg; }
            set { fieldImg = value; }
        }

        // Paths Data
        Path[] paths;
        public Path[] Paths
        {
            get { return paths; }
            set { paths = value; }
        }

        public override string ToString()
        {
            string Info = "Level " + ID;
            return Info;
        }
    }
}
